﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for LimpaSessions
/// </summary>
/// 
namespace Util
{
    public class LimpaSessions : System.Web.UI.Page
    {
        public LimpaSessions()
        {
            //
            // TODO: Add constructor logic here
            //
        }

        public void LimpaSessao(string sessao)
        {
            Session.Remove(sessao);
        }

        public void LimpaTodasSessoes()
        {
            Session.Clear();
            Session.RemoveAll();
        }
    }
}